<script lang="ts">
  import { defineComponent, ref } from 'vue';

  export default defineComponent({
    setup() {
      const message = ref('Hello, Vue 3 with TypeScript!');

      return {
        message
      };
    }
  });
</script>
<template>
  <div>我是主体
    <h1>{{ message }}</h1>
    <slot name="text"></slot>
  </div>
</template>

